import React from 'react';
import ReactDOM from 'react-dom';
import {Router,Route, IndexRoute,browserHistory} from 'react-router'
import App from './App'
import Home from './page/Home'
import ProgressPage from './page/ProgressPage'
import Navbar from './components/tab/Navbar'
import Tabbar from './components/tab/Tabbar'
import './reset.css'
import './index.css';

ReactDOM.render(
    (
        <Router history={browserHistory}>
          <Route path="/" component={App}>
            <IndexRoute component={Home}/>
            <Route path="navbar" component={Navbar} />
            <Route path="tabbar" component={Tabbar} />
            <Route path="progress" component={ProgressPage} />
          </Route>
        </Router>
    ),
    document.getElementById('root')
);
